package com.witherest.server.controller.web;

import javax.servlet.http.HttpServletRequest;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/intro")
public class IntroController {
	private static final Logger logger = LoggerFactory.getLogger(IntroController.class);
	
	@RequestMapping
	public String index(HttpServletRequest request) throws Exception {
		logger.debug("Index WebController In.....");
		
		request.setAttribute("clientInfo", "version/1.0.0 android/4.3");
		request.setAttribute("contextPath", request.getContextPath());
		
		return "main";
	}
}
